package com.zrrd.learn.chapter06;

/**
 * 循环汉字
 *
 * @author asus
 * @version 1.0
 * @date 2023/7/14 21:11
 */
public class ArrayWork05 {
//    打印出“三”字
    public static  void question01(){
        for (int i = 0; i <3; i++) {
            for (int j = 0; j < 6; j++) {
                System.out.printf("*");
            }
            System.out.println("\n");
        }
    }
    public static void question02(){
        for (int i = 0; i < 5; i++) {
            for (int j = 0; j < 5; j++) {
                if(i==3){
                    System.out.println("*");
                }else{
                    System.out.println("\t");
                }

            }

        }
    }
    public static void main(String[] args) {
    question02();
    }
}
